package com.hcms.system.domain;

import java.io.Serializable;
import java.util.Date;

// 管理员 实体
// 必须实现 序列化接口，否则 Shiro 无法使用 RememberMe 功能
public class AdminDo implements Serializable {
    // 编号
    private int id;
    // 创建 时间
    private Date createTime;
    // 创建 人
    private String createUser;
    // 更新 时间
    private Date updateTime;
    // 更新 人
    private String updateUser;
    // 状态
    private int markStatus;
    // 姓名
    private String name;
    // 密码
    private String password;
    // 角色名称
    private String roleName;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public int getMarkStatus() {
        return markStatus;
    }

    public void setMarkStatus(int markStatus) {
        this.markStatus = markStatus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return "AdminDo{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", createUser='" + createUser + '\'' +
                ", updateTime=" + updateTime +
                ", updateUser='" + updateUser + '\'' +
                ", markStatus=" + markStatus +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
